package com.mvetc.entity;

public class Comment {

	private String commentId;		//评论编号
	private String commentContent;	//评论内容
	private String commentDate;		//评论时间
	
	private User user;				//评论者信息
	private Movie movies;			//被评论的电影信息
	
	
	public String getCommentId() {
		return commentId;
	}
	public void setCommentId(String commentId) {
		this.commentId = commentId;
	}
	public String getCommentContent() {
		return commentContent;
	}
	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}
	public String getCommentDate() {
		return commentDate;
	}
	public void setCommentDate(String commentDate) {
		this.commentDate = commentDate;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Movie getMovies() {
		return movies;
	}
	public void setMovies(Movie movies) {
		this.movies = movies;
	}
	public Comment() {
		super();
	}
	public Comment(String commentId, String commentContent, String commentDate, User user, Movie movies) {
		super();
		this.commentId = commentId;
		this.commentContent = commentContent;
		this.commentDate = commentDate;
		this.user = user;
		this.movies = movies;
	}
	@Override
	public String toString() {
		return "Comment [commentId=" + commentId + ", commentContent=" + commentContent + ", commentDate=" + commentDate
				+ ", user=" + user + ", movies=" + movies + "]";
	}
	
	
}
